package cn.boysoft.core.spring;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.parsing.AliasDefinition;
import org.springframework.beans.factory.parsing.ComponentDefinition;
import org.springframework.beans.factory.parsing.DefaultsDefinition;
import org.springframework.beans.factory.parsing.ImportDefinition;
import org.springframework.beans.factory.parsing.ReaderEventListener;

public class ComponentRegisterCompleteListener implements ReaderEventListener {

	@Override
	public void aliasRegistered(AliasDefinition arg0) {
		
	}

	@Override
	public void componentRegistered(ComponentDefinition componentDefinition) {
	   BeanDefinition[] set = componentDefinition.getInnerBeanDefinitions();
	   //System.out.print(componentDefinition);
	}

	@Override
	public void defaultsRegistered(DefaultsDefinition arg0) {
	

	}

	@Override
	public void importProcessed(ImportDefinition arg0) {
		

	}

}
